package one.stand.model.essay;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 获客文章访客数据
 * </p>
 *
 * @author luoyang
 * @since 2020-05-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="EssayVisitorsData对象", description="获客文章访客数据")
public class EssayVisitorsDataModel implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "文章id")
    private Long dynamicId;

    @ApiModelProperty(value = "访问用户id或者创建者id")
    private Long userId;

    @ApiModelProperty(value = "业务员ID")
    private Long cardId;

    @ApiModelProperty(value = "1海报 2名片 3 文章")
    private Integer source;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "访问时间")
    private Date visitTime;

    @ApiModelProperty(value = "总次数")
    private Integer sumNum;

    @ApiModelProperty(value = "总时长")
    private Integer sumTimes;

    @ApiModelProperty(value = "转发次数")
    private Integer forwardfNum;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "企业ID")
    private Long companyId;

    @ApiModelProperty(value = "openId")
    private String openId;

    @ApiModelProperty(value = "unionid")
    private String unionId;

    private String nickname;

    private String sex;

    private String city;

    private String province;

    private String headImgurl;

}
